package model

import (
	"time"
)

type AuCouponLog struct {
	CostId     int       `xorm:"not null pk autoincr INT(10)"`
	DealerId   int       `xorm:"not null index INT(10)"`
	CostType   string    `xorm:"not null VARCHAR(30)"`
	OccurTime  time.Time `xorm:"not null DATETIME"`
	OccurMoney float64   `xorm:"not null DOUBLE(10,2)"`
	Remark     string    `xorm:"TEXT"`
	Createtime time.Time `xorm:"not null DATETIME"`
	OrderId    int       `xorm:"not null index INT(10)"`
	CouponId   int       `xorm:"not null INT(11)"`
	CouponNo   string    `xorm:"not null VARCHAR(30)"`
	OccurType  int       `xorm:"not null INT(11)"`
}
